﻿using com.guojin.core.io.message;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class UpdaClubLmInfor : Message
    {
        private int TYPE = 7;
        private int ID = 166;

        public List<OptionEntry> clubList { get; set; }
        public List<OptionEntry> lianMengList { get; set; }


        public void decode(com.guojin.core.io.Input _in)
        {
            clubList = new List<OptionEntry>();
            int len2 = _in.readInt();
            if (len2 > 0)
            {
                for (int i = 0; i < len2; i++)
                {
                    var op = new OptionEntry();
                    op.decode(_in);
                    clubList.Add(op);
                }
            }

            lianMengList = new List<OptionEntry>();
            int len = _in.readInt();
            if (len > 0)
            {
                for (int i = 0; i < len; i++)
                {
                    var op = new OptionEntry();
                    op.decode(_in);
                    lianMengList.Add(op);
                }
            }
        }

        public void encode(Output _out)
        {
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "";
        }
    }
}


